home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 676-700 / 676 / fbm / fbm10man.zoo / MAN / gray2clr.man < prev    next >
Text File  |  1990-12-18  |  3KB  |  133 lines

  1.  
  2.      GRAY2CLR(1)                   25-Jun-90                    GRAY2CLR(1)
  3.  
  4.  
  5.           3 
  6.  
  7.      ›1mNAME 
  8.           ›0mgray2clr,  unmap  \-  add  a  colormap to a grayscale image,
  9.           unmap a color image 
  10.  
  11.      ›1mSYNOPSIS 
  12.           ›0mgray2clr [ -<type> ] [ -u ] < gray > coloror
  13.           unmap [ -<type> ] < gray > color
  14.  
  15.      ›1mDESCRIPTION 
  16.  
  17.                ›0mAdds a colormap to an 8bit grayscale image, allowing it
  18.           to be displayed on a frame buffer.  The image will still  be
  19.           black and white, of course.  
  20.  
  21.           If  invoked  as  ›3munmap, ›0mor with the -›1mu ›0moption, the output is
  22.           given as RGB values instead of mapped color.   This  routine
  23.           can  be  used  to  convert mapped color to unmapped color as
  24.           well.  This must be done before ›3mfbext ›0mis used  to  resize  a
  25.           mapped color  image.   Then the result can be remapped using
  26.           ›3mfbquant.  
  27.  
  28.      ›0m›1mOPTIONS 
  29.  
  30.           ›0m-›1mu ›0m›3munmap, ›0mmakes the output a 3 plane  image,  instead  of  a
  31.           mapped imsage.    This  must be done before the image can be
  32.           resized (with fbext(1)) or quantized (with fbquant(1)).  
  33.  
  34.      ›1mEXAMPLE 
  35.           ›0mAdd a colormap to a grayscale file for viewing  on  a  frame
  36.           buffer: 
  37.  
  38.               % gray2clr -S < foo.8bit > foo.clr 
  39.  
  40.           Convert a mapped color image to unmapped and then adjust the
  41.           aspect ratio: 
  42.  
  43.               % gray2clr -u < foo.gif | fbext -a1 > foo.fbm 
  44.  
  45.      ›1mSEE ALSO 
  46.           ›0mfbm(1) for general discussion, pbm(1) for PBM routines.  
  47.  
  48.      ›1mBUGS 
  49.           ›0mNone known.  
  50.  
  51.      ›1mHISTORY 
  52.           ›0mCopyright  (C)  1989,1990  by Michael Mauldin. Permission is
  53.           granted to use this  file  in  whole  or  in  part  for  any
  54.           purpose,  educational,  recreational or commercial, provided
  55.           that this copyright notice  is  retained  unchanged.    This
  56.           software is available to all free of charge by anonymous FTP
  57.           and in the UUNET archives.  
  58.  
  59.           25-Jun-90  Michael  Mauldin  at  Carnegie  Mellon University
  60.           Release 1.0 mlmcs.cmu.edu 
  61.  
  62.           07-Apr-89 Michael L. Mauldin at Carnegie  Mellon  University
  63.  
  64.  
  65.                                       -1-
  66.  
  67.  
  68.      GRAY2CLR(1)                   25-Jun-90                    GRAY2CLR(1)
  69.  
  70.  
  71.           Beta release (version 0.91) mlmcs.cmu.edu 
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       -2-
  132.  
  133.